#include "showBytes.h"
#include <cstring>

int main(int argc, char *argv[]) {
    int val = 0x12345678;
    byte_pointer valp = (byte_pointer)&val;
    show_bytes(valp, 1);
    show_bytes(valp, 2);
    show_bytes(valp, 3);
    show_bytes(valp, 4);
    char *cs = "12345x";
    show_bytes((byte_pointer)cs, 7);

    char *s = "ABCDEF";
    show_bytes((byte_pointer)s, strlen(s));
}